<!DOCTYPE html>

<head>
    <base href="__STATIC__/admin/">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="renderer" content="webkit">

    <title>京城男人帮</title>

    <link href="css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css?v=4.3.0" rel="stylesheet">

    <!-- Data Tables -->
    <link href="css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=2.2.0" rel="stylesheet">

</head>

<body>
<div id="wrapper">
    <!--左侧菜单-->
    <nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">

                <div class="dropdown profile-element"> <span>
                            <img alt="image" class="img-circle" src="img/profile_small.jpg" />
                             </span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="index.html#">
                                <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">Beaut-zihan</strong>
                             </span>  <span class="text-muted text-xs block">超级管理员 <b class="caret"></b></span> </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li><a href="form_avatar.html">修改头像</a>
                        </li>
                        <li><a href="profile.html">个人资料</a>
                        </li>
                        <li><a href="contacts.html">联系我们</a>
                        </li>
                        <li><a href="mailbox.html">信箱</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="login.html">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">
                    H+
                </div>

            </li>
            <li>
                <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">用户管理</span> <span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="index_1.html">用户列表</a>
                    </li>
                </ul>
            </li>
            <li class="active">
                <a href="layouts.html"><i class="fa fa-columns"></i> <span class="nav-label">商品管理</span><span class="label label-danger pull-right"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="{:url('admin/goods/goodslist')}">商品列表</a>
                    </li>
                    <li><a href="{:url('admin/goods/addgoods')}">商品添加</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="index.html#"><i class="fa fa fa-globe"></i> <span class="nav-label">管理员管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="toastr_notifications.html">管理员列表</a>
                    </li>
                </ul>
            </li>

            <li>
                <a href="index.html#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">轮播图管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="{:url('admin/slideshow/slideshowlist')}">轮播图列表</a>
                    </li>
                    <li><a href="{:url('admin/slideshow/addslideshow')}">轮播图添加</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="mailbox.html"><i class="fa fa-envelope"></i> <span class="nav-label">广告位管理 </span><span class="label label-warning pull-right"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="mailbox.html">广告位列表</a>
                    </li>
                    </li>
                </ul>
            </li>
            <li>
                <a href="widgets.html"><i class="fa fa-flask"></i> <span class="nav-label">品牌管理</span></a>
                <ul class="nav nav-second-level">
                    <li><a href="mailbox.html">品牌列表</a>
                    </li>
                    </li>
                </ul>
            </li>
            <li>
                <a href="index.html#"><i class="fa fa-edit"></i> <span class="nav-label">商品分类管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="form_basic.html">分类列表</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="index.html#"><i class="fa fa-desktop"></i> <span class="nav-label">评价管理</span></a>
                <ul class="nav nav-second-level">
                    <li><a href="contacts.html">评价列表</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="index.html#"><i class="fa fa-files-o"></i> <span class="nav-label">投诉管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="search_results.html">投诉列表</a>
                    </li>
                </ul>
            </li>

            <li>
                <a href="index.html#"><i class="fa fa-flask"></i> <span class="nav-label">商家管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="typography.html">商家列表</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="index.html#"><i class="fa fa-flask"></i> <span class="nav-label">属性管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li><a href="{:url('type/type_show')}">属性列表</a>
                    </li>
                    <li><a href="{:url('type/type')}">属性添加</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="grid_options.html"><i class="fa fa-laptop"></i> <span class="nav-label">系统设置</span></a>
            </li>

        </ul>

    </div>
    </nav>
    <!--左侧菜单end-->

    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row wrapper border-bottom white-bg page-heading">
            <div class="col-lg-10">

                <ol class="breadcrumb">
                    <li>
                        <a href="index.html">主页</a>
                    </li>
                    <li>
                        <a>评价管理</a>
                    </li>
                    <li>
                        <strong>评价列表</strong>
                    </li>
                </ol>
            </div>
            <div class="col-lg-2">

            </div>
        </div>
        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox-content">
                            <a href="{:url('admin/type/attr_add')}">添加属性</a>
                        <table class="table table-striped table-bordered table-hover dataTables-example">
                            <tbody>
                            <tr class="gradeX">
                                <td>属性id</td>
                                <td>属性名称</td>
                                <td>商品类型</td>
                                <td>操作</td>
                            </tr>
                            <?php foreach($adata as $key => $val){?>
                            <tr class="gradeX" where="<?= $val['a_id'] ?>">
                                <td><?= $val['a_id'] ?></td>
                                <td><?= $val['a_name'] ?></td>
                                <td><?= $val['type_name'] ?></td>
                                <td>123</td>
                            </tr>
                            <?php } ?>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</body>


</div>

<!-- Mainly scripts -->
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/bootstrap.min.js?v=3.4.0"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

<script src="js/plugins/jeditable/jqu"></script>

